#coding=utf8
#



class Userfun(object):
    #@Core.regcmd("#关于")
    #注册命令 #关于
    #def func_name(self,userid,*args):
    #    pass
    #userid 用户id 此为QQ号
    #args   参数列表

    def __init__(self):
        self.qzone={}

    @Core.regcmd("#关于")
    def about(self,userid,*args):
        """关于机器人 eg:#关于 """
        h=[]
        h.append("#codeby  道长且阻")
        h.append("#email   ydhcui@suliu.net")
        h.append("#QQ      664284092")
        h.append("#weibo   http://weibo.com/ydhcui")
        h.append(time.strftime('%Y-%m-%d %X',time.localtime()))
        return '\n'.join(h)

    @Core.regcmd("#翻译")
    def fanyi(self,userid,*args):
        """翻译 eg:#翻译 你好吗"""
        url="http://fanyi.youdao.com/openapi.do"
        data={"keyfrom":"suliunet",
              "key":"1784013593",
              "type":"data",
              "doctype":"json",
              "version":"1.1",
              "q":" ".join(args),
              }
        return eval(util.post(url,data))['translation'][0]

    @Core.regcmd("#百度")
    def baidu(self,userid,*args):
        """百度解释 EG:#百度 python """
        def baike(url):
            res = request.urlopen(url).read().decode("utf-8")
            data= util.find(res,
                  """<div class="card-summary-content"><div class="para">""",
                  """</div></div></div>""")
            return util.html2str(data)
        def search(msg):
            url='http://www.baidu.com/s?wd=%s' %msg
            content = util.get(url)#.encode("utf-8")
            content=content.replace('\n','').replace('</table> <div','')
            res=""
            for i in range(3):   #取3条结果
                temp=re.findall(r'(?<=id="\d").*?</table>|(?<=id="10").*?</table>',content)
                title=re.findall(r'<h3.*?<\/h3>',temp[i])
                title=re.compile('<.*?>').sub('',title[0])
                weburl=re.findall(r'(?<=href=").*?(?=")',temp[i])
                res+="%s%s\n"%(title,util.bddwz(weburl[0]))
                if "百度百科" in title:
                    return baike(weburl[0])
            return res
        try:
            try:
                msg=parse.quote(' '.join(args))
                url="http://baike.baidu.com/search/word?word=%s&pic=1&sug=1&enc=utf8" %msg
                return baike(url)
            except error.HTTPError as e:
                #不知为何手机上运行就不能自动跳转
                url="http://baike.baidu.com/%s" %util.find(str(e),"url '/","' is")
                return baike(url)
        except: #改为百度搜索
                return search(parse.quote(''.join(args)))

    @Core.regcmd("#天气")
    def tianqi(self,userid,*args):
        """查询天气 eg：#天气 厦门 """
        url="http://api.map.baidu.com/telematics/v3/weather?location=%s&output=json&ak=B122767f9cf32ad2c5a17d97835d053e"%parse.quote(args[0])
        res = json.loads(util.get(url))
        h=[]
        h.append(res['date'])
        for result in res['results']:
          h.append("%s  PM2.5:%s"%(result['currentCity'],result['pm25']))
          for data in result['weather_data']:
            h.append("%s %s %s %s"%(data['date'],data['weather'],data['wind'],data['temperature']))
        #print('\n'.join(h))
        return '\n'.join(h)
        '''
        {"error":0,"status":"success","date":"2014-10-11",
         "results":[{"currentCity":"厦门","pm25":"30",
                     "index":[{"title":"穿衣","zs":"炎热","tipt":"穿衣指数","des":"天气炎热，建议着短衫、短裙、短裤、薄型T恤衫等清凉夏季服装。"},
                              {"title":"洗车","zs":"较适宜","tipt":"洗车指数","des":"较适宜洗车，未来一天无雨，风力较小，擦洗一新的汽车至少能保持一天。"},
                              {"title":"旅游","zs":"适宜","tipt":"旅游指数","des":"天气较好，但丝毫不会影响您的心情。微风，虽天气稍热，却仍适宜旅游，不要错过机会呦！"},
                              {"title":"感冒","zs":"少发","tipt":"感冒指数","des":"各项气象条件适宜，发生感冒机率较低。但请避免长期处于空调房间中，以防感冒。"},
                              {"title":"运动","zs":"较适宜","tipt":"运动指数","des":"天气较好，户外运动请注意防晒。推荐您进行室内运动。"},
                              {"title":"紫外线强度","zs":"中等","tipt":"紫外线强度指数","des":"属中等强度紫外线辐射天气，外出时建议涂擦SPF高于15、PA+的防晒护肤品，戴帽子、太阳镜。"}]
                     "weather_data":[{"date":"周六 10月11日 (实时：30℃)","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/duoyun.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/duoyun.png","weather":"多云","wind":"微风","temperature":"32 ~ 21℃"},
                                     {"date":"周日","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/duoyun.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/duoyun.png","weather":"多云","wind":"微风","temperature":"32 ~ 21℃"},
                                     {"date":"周一","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/duoyun.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/duoyun.png","weather":"多云","wind":"微风","temperature":"30 ~ 21℃"},
                                     {"date":"周二","dayPictureUrl":"http://api.map.baidu.com/images/weather/day/duoyun.png","nightPictureUrl":"http://api.map.baidu.com/images/weather/night/duoyun.png","weather":"多云","wind":"微风","temperature":"28 ~ 19℃"}]}]}
        '''


    @Core.regcmd("#快递")
    def kuaidi(self,userid,*args):
        """快递查询 eg:#快递 EMS 1075314674904"""
        return kuaidi.main(args[0],args[1])

    @Core.regcmd("#笑话")
    def xiaohua(self,userid,*args):
        """笑话 eg：#笑话 """
        id = random.choice(range(Joke.select().count()))
        res=Joke.select().where(Joke.id==id).get().data
        return res

    @Core.regcmd("#教学")
    def student(self,userid,*args):
        """机器人教学 EG:#教学 你是谁 我是walle"""
        return AI.student(args[0],args[1])

    @Core.regcmd("#帮助")
    def help(self,userid,*args):
        """帮助 eg:#帮助 """
        h=[]
        h.append("$$$CHATON开启聊天模式，$$$CHATOFF关闭聊天模式。")
        h+=["%s %s"%(cmd,self.cmdlist[cmd].__doc__) for cmd in Core.cmdlist.keys()]
        return '\n'.join(h)

    #@Core.regcmd("#手机")
    def shouji(self,userid,*args):
        """号码归属地 EG:#手机 18658482263 """
        url='http://api.showji.com/Locating/www.showji.co.m.aspx?m=%s&output=json' %args[0]
        data=eval(util.get(url))
        h=[]
        h.append("手机号%s的" %args[0])
        h.append("归属地为%s省%s市" %(data['Province'],data['City']))
        h.append("号码类型%s%s" %(data['Corp'],data['Card']))
        return '\n'.join(h)

    @Core.regcmd("#种子")
    def btserch(self,userid,*args):
        '''种子搜索 EG:#种子 关键字'''
        #http://www.tokyotosho.info/search.php?terms=%E4%B8%8A%E5%8E%9F&type=15
        msg = parse.quote('+'.join(args))
        url="https://btdigg.org/search?info_hash=&q=%s" % msg
        header={"Referer":"http://btdigg.org/search?info_hash=&q="}
        res=util.get(url,header=header)
        r=[]
        try:
            t=re.findall(r'<td class=\"idx\">.*?<pre class=\"snippet\">',res)
            for i in range(9):   #取3条结果
                d=re.findall(r'<a.*?href="(.*?)&amp;.*?>(.*?)<\/a>',t[i])
                r.append('\n'.join([d[0][1],d[1][0]]))
        except:
            if not r:r.append('没有找到%s的种子，试试别的关键词吧。'%''.join(args))
        finally:
            try:h=random.sample(r,3)
            except:h=r
            h.append('==============================')
            h.append('小撸怡情,大撸伤身,强撸灰飞烟灭。注意身体啊。骚年~')
        return '\n'.join(h)

    @Core.regcmd("#留言")
    def addmsbg(self,userid,*args):
        """空间留言 #留言 QQ号 留言内容"""
        #留言 664284092
        uin=msg=tmsg=None
        try:
            uin,*msg=args
            if len(msg)<2:
                tmsg=self.sysfun.ai.hito()
        except Exception as e:
            tmsg=self.sysfun.ai.hito()
            if not uin:uin=userid
        if msg:
           tmsg=''.join(msg)
        qzone = random.choice(self.qzones)
        res=qzone.add_msbg(uin,tmsg)
        return "%s给%s留言\n结果==>>%s\n内容==>>%s"%(qzone.qq,uin,util.find(res,'"message":"','",'),tmsg)

    @Core.regcmd("#视频")
    def getflv(self,userid,*args):
        """获取视频地址 EG:#视频 http://www.acfun.tv/v/ac1471590"""
        urlb64 = base64.urlsafe_b64encode(args[0].replace('://',':##').encode(encoding="utf-8")).decode()
        ua={'Cookie':'uhash=372a35c3189a490f603385974d5d1bee',
            'Referer':'http://www.flvxz.com/?url=%s'%urlb64
            }
        res=util.get("https://www.flvxz.com/getFlv.php?url=%s&_=1413121068393"%urlb64,ua)
        playlist = res.split('flvout(')
        result =[]
        for play in playlist[1:]:
            flvtype = util.find(play,"<span style=\"color:red\">","</span>")
            for playt in play.split("<br/>")[1:-1]:
                flvsize = re.findall("<span class=\"dropdown pull-right\">(.*)<button class=\"btn btn-mini copyclipboard\"",playt)
                flvpath = re.findall("<a rel=\"noreferrer\" href=\"(.*)\">.*</a>",playt)
                flvname = re.findall("<a rel=\"noreferrer\" href=\".*\">(.*)</a>",playt)
                result.append("%s %s %s \n%s"%(flvname[0],flvtype,flvsize[0],util.bddwz(flvpath[0])))
        return '\n'.join(result) if result else "没有找到视频地址"

'''(function ($) {
if($('#result').html().indexOf('loading')>0) $('#result').html('');flvout('<div class="media"><a class="pull-left" href="http://v.youku.com/v_show/id_XNTUzMDQzODky.html" target="_blank"><img class="media-object" data-src="holder.js/75x60" src="http://g3.ykimg.com/1100641F465187C31658350230E4162213D23D-9370-01B1-31AF-38CBE4D83735" style="width:75px;height:60px;"/></a><div class="media-body"><h4 class="media-heading">朱令母亲电台吐心声 希望给女儿一个交代 185</h4></div></div><span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/5omL5py65qCH5riF">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/5omL5py65qCH5riF">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/5omL5py65qCH5riF">预览下面1段视频</a></li></ul></span><span style="color:red">[手机标清]</span><br/>

<span class="dropdown pull-right">15.98MB 07:25 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185.mp4">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/mp4/fileid/03002001005187BA198F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=938ffebedc3c77612829ed66&hd=0&ymovie=1&myp=0&ts=445&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BHgdJjALshSeC460%2FQzpXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/mp4/fileid/03002001005187BA198F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=938ffebedc3c77612829ed66&hd=0&ymovie=1&myp=0&ts=445&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BHgdJjALshSeC460%2FQzpXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/mp4/fileid/03002001005187BA198F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=938ffebedc3c77612829ed66&hd=0&ymovie=1&myp=0&ts=445&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BHgdJjALshSeC460%2FQzpXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185.mp4</a>

<br/>','result_XNTUzMDQzODky');

flvout('<span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/6LaF5riF">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/6LaF5riF">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/6LaF5riF">预览下面3段视频</a></li></ul></span><span style="color:red">[超清]</span> 由 优酷网 分割为 <span style="color:red;">3</span> 段视频 <a href="http://www.flvxz.com/docs.php?doc=names#multifiles" target="_blank">?</a><br/>

<span class="dropdown pull-right">28.73MB 03:23 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_01.flv">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/flv/fileid/03000103005187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=21b123f07dbd7b8d2829ed66&hd=2&ymovie=1&myp=0&ts=203&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALshSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/flv/fileid/03000103005187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=21b123f07dbd7b8d2829ed66&hd=2&ymovie=1&myp=0&ts=203&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALshSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/flv/fileid/03000103005187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=21b123f07dbd7b8d2829ed66&hd=2&ymovie=1&myp=0&ts=203&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALshSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_01.flv</a><br/>

<span class="dropdown pull-right">15.96MB 02:01 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_02.flv">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/flv/fileid/03000103015187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=0dcff756ba4e40392829ed66&hd=2&ymovie=1&myp=0&ts=121&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALohSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/flv/fileid/03000103015187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=0dcff756ba4e40392829ed66&hd=2&ymovie=1&myp=0&ts=121&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALohSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/flv/fileid/03000103015187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=0dcff756ba4e40392829ed66&hd=2&ymovie=1&myp=0&ts=121&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALohSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_02.flv</a><br/>

<span class="dropdown pull-right">18.88MB 02:00 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_03.flv">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_03/st/flv/fileid/03000103025187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=1008383a0e0dce29261df2b6&hd=2&ymovie=1&myp=0&ts=120&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALkhSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_03/st/flv/fileid/03000103025187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=1008383a0e0dce29261df2b6&hd=2&ymovie=1&myp=0&ts=120&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALkhSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_03/st/flv/fileid/03000103025187C3138F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=1008383a0e0dce29261df2b6&hd=2&ymovie=1&myp=0&ts=120&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFgNJhALkhSeC46j3QxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_03.flv</a><br/>','result_XNTUzMDQzODky');


flvout('<span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/TVA05qC85byPTTNVOA==">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/TVA05qC85byPTTNVOA==">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/TVA05qC85byPTTNVOA==">预览下面1段视频</a></li></ul></span><span style="color:red">[MP4格式M3U8]</span> <a href="http://www.flvxz.com/docs.php?doc=names#m3u8" target="_blank">?</a><br/><span class="dropdown pull-right">28.49MB 07:25 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185.m3u8">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=mp4&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=mp4&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=mp4&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">朱令母亲电台吐心声 希望给女儿一个交代 185.m3u8</a><br/>','result_XNTUzMDQzODky');flvout('<span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/6auY5riF">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/6auY5riF">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/6auY5riF">预览下面2段视频</a></li></ul></span><span style="color:red">[高清]</span> 由 优酷网 分割为 <span style="color:red;">2</span> 段视频 <a href="http://www.flvxz.com/docs.php?doc=names#multifiles" target="_blank">?</a><br/><span class="dropdown pull-right">13.12MB 03:23 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_01.mp4">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/mp4/fileid/03000802005187BE738F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=c4df630052bd24fa261df2b6&hd=1&ymovie=1&myp=0&ts=203&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFidJgALshSeC460vWxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/mp4/fileid/03000802005187BE738F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=c4df630052bd24fa261df2b6&hd=1&ymovie=1&myp=0&ts=203&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFidJgALshSeC460vWxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/mp4/fileid/03000802005187BE738F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=c4df630052bd24fa261df2b6&hd=1&ymovie=1&myp=0&ts=203&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFidJgALshSeC460vWxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_01.mp4</a><br/><span class="dropdown pull-right">15.99MB 04:01 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_02.mp4">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/mp4/fileid/03000802015187BE738F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=2c7a9b1eb863511d2829ed66&hd=1&ymovie=1&myp=0&ts=241&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFidJgALohSeC460vWxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/mp4/fileid/03000802015187BE738F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=2c7a9b1eb863511d2829ed66&hd=1&ymovie=1&myp=0&ts=241&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFidJgALohSeC460vWxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/mp4/fileid/03000802015187BE738F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=2c7a9b1eb863511d2829ed66&hd=1&ymovie=1&myp=0&ts=241&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFidJgALohSeC460vWxJXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_02.mp4</a><br/>','result_XNTUzMDQzODky');flvout('<span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/6auY5riFTTNVOA==">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/6auY5riFTTNVOA==">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/6auY5riFTTNVOA==">预览下面1段视频</a></li></ul></span><span style="color:red">[高清M3U8]</span> <a href="http://www.flvxz.com/docs.php?doc=names#m3u8" target="_blank">?</a><br/><span class="dropdown pull-right">54.27MB 07:25 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185.m3u8">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=hd2&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=hd2&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=hd2&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">朱令母亲电台吐心声 希望给女儿一个交代 185.m3u8</a><br/>','result_XNTUzMDQzODky');flvout('<span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/RkxW5qC85byPTTNVOA==">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/RkxW5qC85byPTTNVOA==">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/RkxW5qC85byPTTNVOA==">预览下面1段视频</a></li></ul></span><span style="color:red">[FLV格式M3U8]</span> <a href="http://www.flvxz.com/docs.php?doc=names#m3u8" target="_blank">?</a><br/><span class="dropdown pull-right">16.28MB 07:25 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185.m3u8">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=flv&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=flv&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://pl.youku.com/playlist/m3u8?ts=1413128588&keyframe=0&vid=XNTUzMDQzODky&type=flv&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXJZ0knrP%2FKYDSsRQE6HQkDbXww%3D%3D&sid=74131289463611239e243&token=9864&ctype=12&ev=1&oip=3663591661">朱令母亲电台吐心声 希望给女儿一个交代 185.m3u8</a><br/>','result_XNTUzMDQzODky');flvout('<span class="dropdown pull-right"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/quality/RkxW5qCH5riF">xml格式输出</a></li><li><a target="_blank" href="http://api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/RkxW5qCH5riF">ckxml格式输出</a></li><li><a target="_blank" href="http://preview.flvxz.com/api.flvxz.com/url/aHR0cDojI3YueW91a3UuY29tL3Zfc2hvdy9pZF9YTlRVek1EUXpPRGt5Lmh0bWw=/xmlformat/ckxml/quality/RkxW5qCH5riF">预览下面2段视频</a></li></ul></span><span style="color:red">[FLV标清]</span> 由 优酷网 分割为 <span style="color:red;">2</span> 段视频 <a href="http://www.flvxz.com/docs.php?doc=names#multifiles" target="_blank">?</a><br/><span class="dropdown pull-right">8.44MB 04:05 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_01.flv">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/flv/fileid/03000202005187B8D28F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=81e2c15c0c7e4a6d2411f807&hd=0&ymovie=1&myp=0&ts=245&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFg9JgALshSeC46zalxZXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/flv/fileid/03000202005187B8D28F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=81e2c15c0c7e4a6d2411f807&hd=0&ymovie=1&myp=0&ts=245&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFg9JgALshSeC46zalxZXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_01/st/flv/fileid/03000202005187B8D28F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=81e2c15c0c7e4a6d2411f807&hd=0&ymovie=1&myp=0&ts=245&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFg9JgALshSeC46zalxZXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_01.flv</a><br/><span class="dropdown pull-right">6.75MB 03:19 <button class="btn btn-mini copyclipboard" data-clipboard-text="朱令母亲电台吐心声 希望给女儿一个交代 185_02.flv">复制文件名</button><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">更多<b class="caret"></b></button><ul class="dropdown-menu"><li><a target="_blank" rel="noreferrer" href="https://noreferer.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/flv/fileid/03000202015187B8D28F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=d99fab880f0d6a312411f807&hd=0&ymovie=1&myp=0&ts=199&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFg9JgALohSeC46zalxZXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">下载(noreferer)</a></li><li><a target="_blank" href="http://preview.flvxz.com/k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/flv/fileid/03000202015187B8D28F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=d99fab880f0d6a312411f807&hd=0&ymovie=1&myp=0&ts=199&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFg9JgALohSeC46zalxZXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">预览此片段</a></li></li></ul></span><a rel="noreferrer" href="http://k.youku.com/player/getFlvPath/sid/74131289463611239e243_02/st/flv/fileid/03000202015187B8D28F6F0230E416AB237B8B-4D0C-7D2A-0E75-2CF3633882E3?K=d99fab880f0d6a312411f807&hd=0&ymovie=1&myp=0&ts=199&ypp=2&ctype=12&ev=1&token=9864&oip=3663591661&ep=dSaVGUiPXscE4yDZiT8bZCW3dnMMXP4J9h%2BFg9JgALohSeC46zalxZXGSIlCFPoZByYHFpqDqdPgGEhmYfQ3qRsQ2DqqSPrgi%2Ffm5a8gspMGZRo%2Bes%2Bit1SXSzb1">朱令母亲电台吐心声 希望给女儿一个交代 185_02.flv</a><br/>','result_XNTUzMDQzODky');if(typeof notify_finish != "undefined" ) notify_finish();

} (jQuery))'''